<?php

namespace app\mini\model;

use app\common\model\BaseModel;

class ChangeCompanyOrderLog extends BaseModel
{
    const OPERATOR_SALESMAN = 1; // 业务员

    public function isChange($id): string
    {
        return is_null($this->where('company_order_pid',$id)->find()) ? 0 : 1;
    }
}